.multiview-environments-sidebar-container {
  height: 100%;

  .multiview-environments-sidebar-list-section {
    height: 100%;
    overflow: auto;
  }
  .environments-empty-state-wrapper {
    margin: 8px;
  }

  .environments-list-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px 0px 8px 0;
  }

  .environments-list {
    padding: 0 8px;
    overflow-y: auto;

    &-item {
      color: var(--requestly-color-text-default);
      padding: var(--space-2, 4px) var(--space-4, 8px);
      border-radius: 4px;
      transition: background-color 0.2s ease-in-out;
      font-size: var(--requestly-font-size-xs);
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      gap: 4px;

      svg.active-env-icon {
        position: relative;
        top: 2px;
        font-size: var(--requestly-font-size-md);
        color: var(--requestly-color-success);
      }

      svg.global-var-icon {
        position: relative;
        top: 3px;
        margin-right: 3px;
        font-size: var(--requestly-font-size-md);
        color: var(--requestly-color-text-subtle);
      }

      svg.global-var-info-icon {
        position: relative;
        top: 3px;
        margin-left: 3px;
        font-size: var(--requestly-font-size-md);
        color: var(--requestly-color-text-subtle);
      }

      &:hover {
        background-color: var(--requestly-color-white-t-10);

        .environment-list-item-dropdown-button {
          opacity: 1;
        }
      }

      &:not(:first-child) {
        margin-top: 4px;
      }

      &.active {
        background-color: var(--requestly-color-white-t-20);
      }

      &__label {
        flex: 1;
        display: flex;
        justify-content: space-between;
      }
    }
  }

  .environment-input.ant-input {
    width: 100%;
    margin: 8px 0;
    font-size: var(--requestly-font-size-xs);
    padding: var(--space-2, 4px) var(--space-4, 8px) !important;
  }

  .active-environment-tooltip {
    .ant-tooltip-inner {
      background-color: var(--requestly-color-black);
    }
  }

  .environment-list-item-dropdown-button {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: none;
  }

  .environments-list-item__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    span {
      font-size: var(--requestly-font-size-sm, 12px);
    }
  }
}
